using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Application.DTO;

namespace Application.DTO
{
    public class RetrieveAllCustomersResult
    {
        private List<CustomerInfo> _list;
        public IEnumerable<CustomerInfo> Entities { get{ return _list;}  }
        public int TotalRecords { get; set; }
        public RetrieveAllCustomersResult()
        {
            _list = new List<CustomerInfo>();
        }
        public void Add(IEnumerable<CustomerInfo> customers)
        {
            _list.AddRange(customers.ToArray());
        }
    }
}
